{% extends "./base.html" %}
{% url 'common_view' as common_url %}
{%block main%}
<div class="row">
    <div class="col-md-3 col-lg-3">
        <div class="sides-nav">
            {%block subtitle_main %}
            <h3>{{local.nav.name}}</h3>
            <ul>
                {% for subtitle in subtitle_lists %}
                    {% if local.id == subtitle.id %}
                        <li class="active"><a href="{{common_url}}?nav_id={{subtitle.nav.id}}&subtitle={{subtitle.id}}" target="_self">{{subtitle.name}}</a></li>
                    {%else%}
                        <li><a href="{{common_url}}?nav_id={{subtitle.nav.id}}&subtitle={{subtitle.id}}" target="_self">{{subtitle.name}}</a></li>
                    {%endif%}
                {% endfor %}
                      {%block subtitle%} {% endblock %}
            </ul>
            {% endblock %}
        </div>
        <div class="sides-contact">
            <h3>全国统一服务热线</h3>
            <p>Unified national service hotlion</p>
            <h4 class="font-color-orange">0755-88888888</h4>
        </div>
    </div>
    <div class="col-md-9 col-lg-9">
        <div class="content-main">
            <div class="c-m-title">

            {%block subtitle_local%}
                <div class="c-m-t-path pull-right">当前位置：{{local.nav.name}} > {{local.name}} • 摩力顿</div>
                <h4>{{local.name}}</h4>
            {% endblock %}

            </div>
            <br>
            {%block subtitle_content%}
            <div class="c-m-list c-m-list-note">
                    {% autoescape off%}
                        {{local.content}}
                    {% endautoescape %}
            {% endblock %}

            </div>
        </div>
    </div>
</div>
{% endblock %}
